package com.we.wecc.lp.db.mapper;

import com.we.wecc.lp.db.model.LotteryPrize;
import com.we.wecc.lp.db.model.LotteryPrizeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface LotteryPrizeMapper {
    long countByExample(LotteryPrizeExample example);

    int deleteByExample(LotteryPrizeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LotteryPrize record);

    int insertSelective(LotteryPrize record);

    List<LotteryPrize> selectByExampleWithBLOBsWithRowbounds(LotteryPrizeExample example, RowBounds rowBounds);

    List<LotteryPrize> selectByExampleWithBLOBs(LotteryPrizeExample example);

    List<LotteryPrize> selectByExampleWithRowbounds(LotteryPrizeExample example, RowBounds rowBounds);

    List<LotteryPrize> selectByExample(LotteryPrizeExample example);

    LotteryPrize selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LotteryPrize record, @Param("example") LotteryPrizeExample example);

    int updateByExampleWithBLOBs(@Param("record") LotteryPrize record, @Param("example") LotteryPrizeExample example);

    int updateByExample(@Param("record") LotteryPrize record, @Param("example") LotteryPrizeExample example);

    int updateByPrimaryKeySelective(LotteryPrize record);

    int updateByPrimaryKeyWithBLOBs(LotteryPrize record);

    int updateByPrimaryKey(LotteryPrize record);
}